﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Web.View.t401Menu.Default" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>t401</title>
    <script src="/View/js/Alert.js" type="text/javascript"></script> 
    <script type="text/javascript">
        function SetWinData(index) {
            document.getElementById("Hid").value = t401_MainStore.getAt(index).get('t401_00');
            
			Txtt401_70.setValue(t401_MainStore.getAt(index).get('t401_70'));
			Txtt401_01.setValue(t401_MainStore.getAt(index).get('t401_01'));
			Txtt401_02.setValue(t401_MainStore.getAt(index).get('t401_02'));
			Txtt401_03.setValue(t401_MainStore.getAt(index).get('t401_03'));
			Txtt401_04.setValue(t401_MainStore.getAt(index).get('t401_04'));
			Txtt401_05.setValue(t401_MainStore.getAt(index).get('t401_05'));
			Txtt401_06.setValue(t401_MainStore.getAt(index).get('t401_06'));
			Txtt401_07.setValue(t401_MainStore.getAt(index).get('t401_07'));
			Txtt401_08.setValue(t401_MainStore.getAt(index).get('t401_08'));
			Txtt401_09.setValue(t401_MainStore.getAt(index).get('t401_09'));
			Txtt401_10.setValue(t401_MainStore.getAt(index).get('t401_10'));
			Txtt401_11.setValue(t401_MainStore.getAt(index).get('t401_11'));
			Txtt401_12.setValue(t401_MainStore.getAt(index).get('t401_12'));
			Txtt401_13.setValue(t401_MainStore.getAt(index).get('t401_13'));
			Txtt401_14.setValue(t401_MainStore.getAt(index).get('t401_14'));
			Txtt401_15.setValue(t401_MainStore.getAt(index).get('t401_15'));
			Txtt401_16.setValue(t401_MainStore.getAt(index).get('t401_16'));
			Txtt401_17.setValue(t401_MainStore.getAt(index).get('t401_17'));
			Txtt401_18.setValue(t401_MainStore.getAt(index).get('t401_18'));
			Txtt401_19.setValue(t401_MainStore.getAt(index).get('t401_19'));
			Txtt401_20.setValue(t401_MainStore.getAt(index).get('t401_20'));
			Txtt401_21.setValue(t401_MainStore.getAt(index).get('t401_21'));
			Txtt401_71.setValue(t401_MainStore.getAt(index).get('t401_71'));
			Txtt401_22.setValue(t401_MainStore.getAt(index).get('t401_22'));
			Txtt401_23.setValue(t401_MainStore.getAt(index).get('t401_23'));
			Txtt401_24.setValue(t401_MainStore.getAt(index).get('t401_24'));
			Txtt401_25.setValue(t401_MainStore.getAt(index).get('t401_25'));
			Txtt401_26.setValue(t401_MainStore.getAt(index).get('t401_26'));
			Txtt401_27.setValue(t401_MainStore.getAt(index).get('t401_27'));
			Txtt401_72.setValue(t401_MainStore.getAt(index).get('t401_72'));
			Txtt401_28.setValue(t401_MainStore.getAt(index).get('t401_28'));
			Txtt401_29.setValue(t401_MainStore.getAt(index).get('t401_29'));
			Txtt401_30.setValue(t401_MainStore.getAt(index).get('t401_30'));
			Txtt401_31.setValue(t401_MainStore.getAt(index).get('t401_31'));
			Txtt401_32.setValue(t401_MainStore.getAt(index).get('t401_32'));
			Txtt401_33.setValue(t401_MainStore.getAt(index).get('t401_33'));
			Txtt401_73.setValue(t401_MainStore.getAt(index).get('t401_73'));
			Txtt401_34.setValue(t401_MainStore.getAt(index).get('t401_34'));
			Txtt401_35.setValue(t401_MainStore.getAt(index).get('t401_35'));
			Txtt401_36.setValue(t401_MainStore.getAt(index).get('t401_36'));
			Txtt401_37.setValue(t401_MainStore.getAt(index).get('t401_37'));
			Txtt401_38.setValue(t401_MainStore.getAt(index).get('t401_38'));
			Txtt401_39.setValue(t401_MainStore.getAt(index).get('t401_39'));
			Txtt401_74.setValue(t401_MainStore.getAt(index).get('t401_74'));
			Txtt401_40.setValue(t401_MainStore.getAt(index).get('t401_40'));
			Txtt401_41.setValue(t401_MainStore.getAt(index).get('t401_41'));
			Txtt401_42.setValue(t401_MainStore.getAt(index).get('t401_42'));
			Txtt401_43.setValue(t401_MainStore.getAt(index).get('t401_43'));
			Txtt401_44.setValue(t401_MainStore.getAt(index).get('t401_44'));
			Txtt401_45.setValue(t401_MainStore.getAt(index).get('t401_45'));
			Txtt401_46.setValue(t401_MainStore.getAt(index).get('t401_46'));
			Txtt401_75.setValue(t401_MainStore.getAt(index).get('t401_75'));
			Txtt401_47.setValue(t401_MainStore.getAt(index).get('t401_47'));
			Txtt401_48.setValue(t401_MainStore.getAt(index).get('t401_48'));
			Txtt401_49.setValue(t401_MainStore.getAt(index).get('t401_49'));
			Txtt401_50.setValue(t401_MainStore.getAt(index).get('t401_50'));
			Txtt401_51.setValue(t401_MainStore.getAt(index).get('t401_51'));
			Txtt401_52.setValue(t401_MainStore.getAt(index).get('t401_52'));
			Txtt401_53.setValue(t401_MainStore.getAt(index).get('t401_53'));
			Txtt401_76.setValue(t401_MainStore.getAt(index).get('t401_76'));
			Txtt401_77.setValue(t401_MainStore.getAt(index).get('t401_77'));
			Txtt401_78.setValue(t401_MainStore.getAt(index).get('t401_78'));
			Txtt401_79.setValue(t401_MainStore.getAt(index).get('t401_79'));
			Txtt401_80.setValue(t401_MainStore.getAt(index).get('t401_80'));
			Txtt401_81.setValue(t401_MainStore.getAt(index).get('t401_81'));
			Txtt401_82.setValue(t401_MainStore.getAt(index).get('t401_82'));
			Txtt401_83.setValue(t401_MainStore.getAt(index).get('t401_83'));
			Txtt401_84.setValue(t401_MainStore.getAt(index).get('t401_84'));
			Txtt401_85.setValue(t401_MainStore.getAt(index).get('t401_85'));
			Txtt401_86.setValue(t401_MainStore.getAt(index).get('t401_86'));
			Txtt401_87.setValue(t401_MainStore.getAt(index).get('t401_87'));
			Txtt401_88.setValue(t401_MainStore.getAt(index).get('t401_88'));
			Txtt401_54.setValue(t401_MainStore.getAt(index).get('t401_54'));
			Txtt401_55.setValue(t401_MainStore.getAt(index).get('t401_55'));
			Txtt401_89.setValue(t401_MainStore.getAt(index).get('t401_89'));
			Txtt401_90.setValue(t401_MainStore.getAt(index).get('t401_90'));
			Txtt401_56.setValue(t401_MainStore.getAt(index).get('t401_56'));
			Txtt401_57.setValue(t401_MainStore.getAt(index).get('t401_57'));
			Txtcollection_time.setValue(t401_MainStore.getAt(index).get('collection_time'));

            t401_Win.show();
        }
    </script>
</head>
<body>
    <form id="MainForm" runat="server">
    <ext:ResourceManager ID="MainResourceMgr" runat="server" />
    <!--用来导出到Excel的数据源-->
    <ext:Hidden ID="ExcelGridData" runat="server" />
    <!--t401表页面主数据元，自动生成-->
    <ext:Store runat="server" ID="t401_MainStore" OnRefreshData="t401_DataBind" AutoLoad="true">
        <Proxy>
            <ext:PageProxy />
        </Proxy>
        <Reader>
            <ext:JsonReader IDProperty="t401_00">
                <Fields>
                    
					<ext:RecordField Name="t401_00" />
					<ext:RecordField Name="t401_70" />
					<ext:RecordField Name="t401_01" />
					<ext:RecordField Name="t401_02" />
					<ext:RecordField Name="t401_03" />
					<ext:RecordField Name="t401_04" />
					<ext:RecordField Name="t401_05" />
					<ext:RecordField Name="t401_06" />
					<ext:RecordField Name="t401_07" />
					<ext:RecordField Name="t401_08" />
					<ext:RecordField Name="t401_09" />
					<ext:RecordField Name="t401_10" />
					<ext:RecordField Name="t401_11" />
					<ext:RecordField Name="t401_12" />
					<ext:RecordField Name="t401_13" />
					<ext:RecordField Name="t401_14" />
					<ext:RecordField Name="t401_15" />
					<ext:RecordField Name="t401_16" />
					<ext:RecordField Name="t401_17" />
					<ext:RecordField Name="t401_18" />
					<ext:RecordField Name="t401_19" />
					<ext:RecordField Name="t401_20" />
					<ext:RecordField Name="t401_21" />
					<ext:RecordField Name="t401_71" />
					<ext:RecordField Name="t401_22" />
					<ext:RecordField Name="t401_23" />
					<ext:RecordField Name="t401_24" />
					<ext:RecordField Name="t401_25" />
					<ext:RecordField Name="t401_26" />
					<ext:RecordField Name="t401_27" />
					<ext:RecordField Name="t401_72" />
					<ext:RecordField Name="t401_28" />
					<ext:RecordField Name="t401_29" />
					<ext:RecordField Name="t401_30" />
					<ext:RecordField Name="t401_31" />
					<ext:RecordField Name="t401_32" />
					<ext:RecordField Name="t401_33" />
					<ext:RecordField Name="t401_73" />
					<ext:RecordField Name="t401_34" />
					<ext:RecordField Name="t401_35" />
					<ext:RecordField Name="t401_36" />
					<ext:RecordField Name="t401_37" />
					<ext:RecordField Name="t401_38" />
					<ext:RecordField Name="t401_39" />
					<ext:RecordField Name="t401_74" />
					<ext:RecordField Name="t401_40" />
					<ext:RecordField Name="t401_41" />
					<ext:RecordField Name="t401_42" />
					<ext:RecordField Name="t401_43" />
					<ext:RecordField Name="t401_44" />
					<ext:RecordField Name="t401_45" />
					<ext:RecordField Name="t401_46" />
					<ext:RecordField Name="t401_75" />
					<ext:RecordField Name="t401_47" />
					<ext:RecordField Name="t401_48" />
					<ext:RecordField Name="t401_49" />
					<ext:RecordField Name="t401_50" />
					<ext:RecordField Name="t401_51" />
					<ext:RecordField Name="t401_52" />
					<ext:RecordField Name="t401_53" />
					<ext:RecordField Name="t401_76" />
					<ext:RecordField Name="t401_77" />
					<ext:RecordField Name="t401_78" />
					<ext:RecordField Name="t401_79" />
					<ext:RecordField Name="t401_80" />
					<ext:RecordField Name="t401_81" />
					<ext:RecordField Name="t401_82" />
					<ext:RecordField Name="t401_83" />
					<ext:RecordField Name="t401_84" />
					<ext:RecordField Name="t401_85" />
					<ext:RecordField Name="t401_86" />
					<ext:RecordField Name="t401_87" />
					<ext:RecordField Name="t401_88" />
					<ext:RecordField Name="t401_54" />
					<ext:RecordField Name="t401_55" />
					<ext:RecordField Name="t401_89" />
					<ext:RecordField Name="t401_90" />
					<ext:RecordField Name="t401_56" />
					<ext:RecordField Name="t401_57" />
					<ext:RecordField Name="collection_time" />

                </Fields>
            </ext:JsonReader>
        </Reader> 
        <BaseParams>
            <ext:Parameter Name="start" Value="0" Mode="Raw">
            </ext:Parameter>
            <ext:Parameter Name="limit" Value="15" Mode="Raw">
            </ext:Parameter>
        </BaseParams>
    </ext:Store>
    <!--t401页面主表格-->
    <ext:Viewport ID="MainViewPort" runat="server">
        <Items>
            <ext:FitLayout>
                <Items>
                    <ext:GridPanel ID="t401_Grid" Layout="fit" TrackMouseOver="true" runat="server" StoreID="t401_MainStore"
                        StripeRows="true" Header="false" Border="false" Collapsible="true">
                        <TopBar>
                            <ext:Toolbar ID="MainToolBar" runat="server">
                                <Items>
                                    <ext:Button ID="BtnAdd" runat="server" Text="添加" Icon="Add">
                                        <Listeners>
                                            <Click Handler="#{t401_MainForm}.getForm().reset();#{Hid}.setValue('');#{t401_Win}.show();" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:Button ID="BtnDel" runat="server" Text="删除" Icon="Delete">
                                        <DirectEvents>
                                            <Click OnEvent="BtnDel_Click">
                                                <Confirmation ConfirmRequest="true" Title="确认" Message="确实要删除吗?" />
                                                <EventMask ShowMask="true" Msg="正在删除数据，请等候 ..." />
                                            </Click>
                                        </DirectEvents>
                                        <Listeners>
                                            <Click Handler="if(#{t401_Grid}.getSelectionModel().getCount()<=0) {TellAlert('请选择要删除的记录');return false;}" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarSeparator />
                                    <ext:Button ID="BtnReload" runat="server" Text="重新加载" Icon="Reload">
                                        <Listeners>
                                            <Click Handler="#{t401_MainStore}.reload();" />
                                        </Listeners>
                                    </ext:Button>
                                    <ext:ToolbarFill />
                                    <ext:Button ID="BtnToExcel" runat="server" Text="To Excel" AutoPostBack="true" OnClick="BtnSaveToExcel"
                                        Icon="PageExcel">
                                        <Listeners>
                                            <Click Handler="#{ExcelGridData}.setValue(Ext.encode(t401_Grid.getRowsValues(false)));" />
                                        </Listeners>
                                        <ToolTips>
                                            <ext:ToolTip Title="将当前页内容存储为Excel文件">
                                            </ext:ToolTip>
                                        </ToolTips>
                                    </ext:Button>
                                </Items>
                            </ext:Toolbar>
                        </TopBar>
                        <ColumnModel ID="t401_ColumnMode" runat="server">
                            <Columns>
                                <ext:RowNumbererColumn Width="20" />
                                <ext:Column Header="主键" Sortable="true" Hidden="true" DataIndex="t401_00" />
                                
								<ext:Column Header="T401_70" Sortable="true" DataIndex="t401_70" />
								<ext:Column Header="T401_01" Sortable="true" DataIndex="t401_01" />
								<ext:Column Header="T401_02" Sortable="true" DataIndex="t401_02" />
								<ext:Column Header="T401_03" Sortable="true" DataIndex="t401_03" />
								<ext:Column Header="T401_04" Sortable="true" DataIndex="t401_04" />
								<ext:Column Header="T401_05" Sortable="true" DataIndex="t401_05" />
								<ext:Column Header="T401_06" Sortable="true" DataIndex="t401_06" />
								<ext:Column Header="T401_07" Sortable="true" DataIndex="t401_07" />
								<ext:Column Header="T401_08" Sortable="true" DataIndex="t401_08" />
								<ext:Column Header="T401_09" Sortable="true" DataIndex="t401_09" />
								<ext:Column Header="T401_10" Sortable="true" DataIndex="t401_10" />
								<ext:Column Header="T401_11" Sortable="true" DataIndex="t401_11" />
								<ext:Column Header="T401_12" Sortable="true" DataIndex="t401_12" />
								<ext:Column Header="T401_13" Sortable="true" DataIndex="t401_13" />
								<ext:Column Header="T401_14" Sortable="true" DataIndex="t401_14" />
								<ext:Column Header="T401_15" Sortable="true" DataIndex="t401_15" />
								<ext:Column Header="T401_16" Sortable="true" DataIndex="t401_16" />
								<ext:Column Header="T401_17" Sortable="true" DataIndex="t401_17" />
								<ext:Column Header="T401_18" Sortable="true" DataIndex="t401_18" />
								<ext:Column Header="T401_19" Sortable="true" DataIndex="t401_19" />
								<ext:Column Header="T401_20" Sortable="true" DataIndex="t401_20" />
								<ext:Column Header="T401_21" Sortable="true" DataIndex="t401_21" />
								<ext:Column Header="T401_71" Sortable="true" DataIndex="t401_71" />
								<ext:Column Header="T401_22" Sortable="true" DataIndex="t401_22" />
								<ext:Column Header="T401_23" Sortable="true" DataIndex="t401_23" />
								<ext:Column Header="T401_24" Sortable="true" DataIndex="t401_24" />
								<ext:Column Header="T401_25" Sortable="true" DataIndex="t401_25" />
								<ext:Column Header="T401_26" Sortable="true" DataIndex="t401_26" />
								<ext:Column Header="T401_27" Sortable="true" DataIndex="t401_27" />
								<ext:Column Header="T401_72" Sortable="true" DataIndex="t401_72" />
								<ext:Column Header="T401_28" Sortable="true" DataIndex="t401_28" />
								<ext:Column Header="T401_29" Sortable="true" DataIndex="t401_29" />
								<ext:Column Header="T401_30" Sortable="true" DataIndex="t401_30" />
								<ext:Column Header="T401_31" Sortable="true" DataIndex="t401_31" />
								<ext:Column Header="T401_32" Sortable="true" DataIndex="t401_32" />
								<ext:Column Header="T401_33" Sortable="true" DataIndex="t401_33" />
								<ext:Column Header="T401_73" Sortable="true" DataIndex="t401_73" />
								<ext:Column Header="T401_34" Sortable="true" DataIndex="t401_34" />
								<ext:Column Header="T401_35" Sortable="true" DataIndex="t401_35" />
								<ext:Column Header="T401_36" Sortable="true" DataIndex="t401_36" />
								<ext:Column Header="T401_37" Sortable="true" DataIndex="t401_37" />
								<ext:Column Header="T401_38" Sortable="true" DataIndex="t401_38" />
								<ext:Column Header="T401_39" Sortable="true" DataIndex="t401_39" />
								<ext:Column Header="T401_74" Sortable="true" DataIndex="t401_74" />
								<ext:Column Header="T401_40" Sortable="true" DataIndex="t401_40" />
								<ext:Column Header="T401_41" Sortable="true" DataIndex="t401_41" />
								<ext:Column Header="T401_42" Sortable="true" DataIndex="t401_42" />
								<ext:Column Header="T401_43" Sortable="true" DataIndex="t401_43" />
								<ext:Column Header="T401_44" Sortable="true" DataIndex="t401_44" />
								<ext:Column Header="T401_45" Sortable="true" DataIndex="t401_45" />
								<ext:Column Header="T401_46" Sortable="true" DataIndex="t401_46" />
								<ext:Column Header="T401_75" Sortable="true" DataIndex="t401_75" />
								<ext:Column Header="T401_47" Sortable="true" DataIndex="t401_47" />
								<ext:Column Header="T401_48" Sortable="true" DataIndex="t401_48" />
								<ext:Column Header="T401_49" Sortable="true" DataIndex="t401_49" />
								<ext:Column Header="T401_50" Sortable="true" DataIndex="t401_50" />
								<ext:Column Header="T401_51" Sortable="true" DataIndex="t401_51" />
								<ext:Column Header="T401_52" Sortable="true" DataIndex="t401_52" />
								<ext:Column Header="T401_53" Sortable="true" DataIndex="t401_53" />
								<ext:Column Header="T401_76" Sortable="true" DataIndex="t401_76" />
								<ext:Column Header="T401_77" Sortable="true" DataIndex="t401_77" />
								<ext:Column Header="T401_78" Sortable="true" DataIndex="t401_78" />
								<ext:Column Header="T401_79" Sortable="true" DataIndex="t401_79" />
								<ext:Column Header="T401_80" Sortable="true" DataIndex="t401_80" />
								<ext:Column Header="T401_81" Sortable="true" DataIndex="t401_81" />
								<ext:Column Header="T401_82" Sortable="true" DataIndex="t401_82" />
								<ext:Column Header="T401_83" Sortable="true" DataIndex="t401_83" />
								<ext:Column Header="T401_84" Sortable="true" DataIndex="t401_84" />
								<ext:Column Header="T401_85" Sortable="true" DataIndex="t401_85" />
								<ext:Column Header="T401_86" Sortable="true" DataIndex="t401_86" />
								<ext:Column Header="T401_87" Sortable="true" DataIndex="t401_87" />
								<ext:Column Header="T401_88" Sortable="true" DataIndex="t401_88" />
								<ext:Column Header="T401_54" Sortable="true" DataIndex="t401_54" />
								<ext:Column Header="T401_55" Sortable="true" DataIndex="t401_55" />
								<ext:Column Header="T401_89" Sortable="true" DataIndex="t401_89" />
								<ext:Column Header="T401_90" Sortable="true" DataIndex="t401_90" />
								<ext:Column Header="T401_56" Sortable="true" DataIndex="t401_56" />
								<ext:Column Header="T401_57" Sortable="true" DataIndex="t401_57" />
								<ext:Column Header="COLLECTION_TIME" Sortable="true" DataIndex="collection_time" />

                            </Columns>
                        </ColumnModel>
                        <Listeners>
                            <RowDblClick Handler="SetWinData(rowIndex);" />
                        </Listeners>
                        <Plugins>
                            <ext:GridFilters runat="server" FiltersText="查找" ID="t401_Filter">
                                <Filters>
                                    
								<ext:StringFilter DataIndex="t401_70" />
								<ext:StringFilter DataIndex="t401_01" />
								<ext:StringFilter DataIndex="t401_02" />
								<ext:StringFilter DataIndex="t401_03" />
								<ext:StringFilter DataIndex="t401_04" />
								<ext:StringFilter DataIndex="t401_05" />
								<ext:StringFilter DataIndex="t401_06" />
								<ext:StringFilter DataIndex="t401_07" />
								<ext:StringFilter DataIndex="t401_08" />
								<ext:StringFilter DataIndex="t401_09" />
								<ext:StringFilter DataIndex="t401_10" />
								<ext:StringFilter DataIndex="t401_11" />
								<ext:StringFilter DataIndex="t401_12" />
								<ext:StringFilter DataIndex="t401_13" />
								<ext:StringFilter DataIndex="t401_14" />
								<ext:StringFilter DataIndex="t401_15" />
								<ext:StringFilter DataIndex="t401_16" />
								<ext:StringFilter DataIndex="t401_17" />
								<ext:StringFilter DataIndex="t401_18" />
								<ext:StringFilter DataIndex="t401_19" />
								<ext:StringFilter DataIndex="t401_20" />
								<ext:StringFilter DataIndex="t401_21" />
								<ext:StringFilter DataIndex="t401_71" />
								<ext:StringFilter DataIndex="t401_22" />
								<ext:StringFilter DataIndex="t401_23" />
								<ext:StringFilter DataIndex="t401_24" />
								<ext:StringFilter DataIndex="t401_25" />
								<ext:StringFilter DataIndex="t401_26" />
								<ext:StringFilter DataIndex="t401_27" />
								<ext:StringFilter DataIndex="t401_72" />
								<ext:StringFilter DataIndex="t401_28" />
								<ext:StringFilter DataIndex="t401_29" />
								<ext:StringFilter DataIndex="t401_30" />
								<ext:StringFilter DataIndex="t401_31" />
								<ext:StringFilter DataIndex="t401_32" />
								<ext:StringFilter DataIndex="t401_33" />
								<ext:StringFilter DataIndex="t401_73" />
								<ext:StringFilter DataIndex="t401_34" />
								<ext:StringFilter DataIndex="t401_35" />
								<ext:StringFilter DataIndex="t401_36" />
								<ext:StringFilter DataIndex="t401_37" />
								<ext:StringFilter DataIndex="t401_38" />
								<ext:StringFilter DataIndex="t401_39" />
								<ext:StringFilter DataIndex="t401_74" />
								<ext:StringFilter DataIndex="t401_40" />
								<ext:StringFilter DataIndex="t401_41" />
								<ext:StringFilter DataIndex="t401_42" />
								<ext:StringFilter DataIndex="t401_43" />
								<ext:StringFilter DataIndex="t401_44" />
								<ext:StringFilter DataIndex="t401_45" />
								<ext:StringFilter DataIndex="t401_46" />
								<ext:StringFilter DataIndex="t401_75" />
								<ext:StringFilter DataIndex="t401_47" />
								<ext:StringFilter DataIndex="t401_48" />
								<ext:StringFilter DataIndex="t401_49" />
								<ext:StringFilter DataIndex="t401_50" />
								<ext:StringFilter DataIndex="t401_51" />
								<ext:StringFilter DataIndex="t401_52" />
								<ext:StringFilter DataIndex="t401_53" />
								<ext:StringFilter DataIndex="t401_76" />
								<ext:StringFilter DataIndex="t401_77" />
								<ext:StringFilter DataIndex="t401_78" />
								<ext:StringFilter DataIndex="t401_79" />
								<ext:StringFilter DataIndex="t401_80" />
								<ext:StringFilter DataIndex="t401_81" />
								<ext:StringFilter DataIndex="t401_82" />
								<ext:StringFilter DataIndex="t401_83" />
								<ext:StringFilter DataIndex="t401_84" />
								<ext:StringFilter DataIndex="t401_85" />
								<ext:StringFilter DataIndex="t401_86" />
								<ext:StringFilter DataIndex="t401_87" />
								<ext:StringFilter DataIndex="t401_88" />
								<ext:StringFilter DataIndex="t401_54" />
								<ext:StringFilter DataIndex="t401_55" />
								<ext:StringFilter DataIndex="t401_89" />
								<ext:StringFilter DataIndex="t401_90" />
								<ext:StringFilter DataIndex="t401_56" />
								<ext:StringFilter DataIndex="t401_57" />
								<ext:StringFilter DataIndex="collection_time" />

                                </Filters>
                            </ext:GridFilters>
                        </Plugins>
                        <LoadMask ShowMask="true" Msg="正在加载..." />
                        <SelectionModel>
                            <ext:CheckboxSelectionModel ID="CheckBoxGrid" runat="server" />
                        </SelectionModel>
                        <BottomBar>
                            <ext:PagingToolbar ID="PagingToolBar" StoreID="t401_MainStore" PageSize="15" runat="server" />
                        </BottomBar>
                    </ext:GridPanel>
                </Items>
            </ext:FitLayout>
        </Items>
    </ext:Viewport>
    
    <!--t401表修改，添加主窗体-->
    <ext:Window ID="t401_Win" Collapsible="true" Hidden="true" Modal="true"
        Maximizable="true" runat="server" Title="添加/修改记录" Icon="WorldEdit" Width="630" AutoHeight="true"
        Resizable="true">
        <Items>
            <ext:Hidden ID="Hid" runat="server">
            </ext:Hidden>
            <ext:FormPanel ID="t401_MainForm" LabelWidth="65" Frame="true" runat="server"
                Border="false" Height="1200" Padding="5" Icon="UserAdd" Layout="Column">
                <Items>
                    <ext:Panel runat="server" Border="false" Header="false" ColumnWidth=".5" Layout="Form">
                        <Items>
                            
							<ext:TextField ID="Txtt401_70" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_70" />
							<ext:TextField ID="Txtt401_02" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_02" />
							<ext:TextField ID="Txtt401_04" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_04" />
							<ext:TextField ID="Txtt401_06" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_06" />
							<ext:TextField ID="Txtt401_08" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_08" />
							<ext:TextField ID="Txtt401_10" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_10" />
							<ext:TextField ID="Txtt401_12" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_12" />
							<ext:TextField ID="Txtt401_14" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_14" />
							<ext:TextField ID="Txtt401_16" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_16" />
							<ext:TextField ID="Txtt401_18" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_18" />
							<ext:TextField ID="Txtt401_20" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_20" />
							<ext:TextField ID="Txtt401_71" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_71" />
							<ext:TextField ID="Txtt401_23" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_23" />
							<ext:TextField ID="Txtt401_25" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_25" />
							<ext:TextField ID="Txtt401_27" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_27" />
							<ext:TextField ID="Txtt401_28" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_28" />
							<ext:TextField ID="Txtt401_30" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_30" />
							<ext:TextField ID="Txtt401_32" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_32" />
							<ext:TextField ID="Txtt401_73" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_73" />
							<ext:TextField ID="Txtt401_35" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_35" />
							<ext:TextField ID="Txtt401_37" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_37" />
							<ext:TextField ID="Txtt401_39" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_39" />
							<ext:TextField ID="Txtt401_40" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_40" />
							<ext:TextField ID="Txtt401_42" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_42" />
							<ext:TextField ID="Txtt401_44" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_44" />
							<ext:TextField ID="Txtt401_46" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_46" />
							<ext:TextField ID="Txtt401_47" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_47" />
							<ext:TextField ID="Txtt401_49" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_49" />
							<ext:TextField ID="Txtt401_51" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_51" />
							<ext:TextField ID="Txtt401_53" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_53" />
							<ext:TextField ID="Txtt401_77" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_77" />
							<ext:TextField ID="Txtt401_79" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_79" />
							<ext:TextField ID="Txtt401_81" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_81" />
							<ext:TextField ID="Txtt401_83" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_83" />
							<ext:TextField ID="Txtt401_85" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_85" />
							<ext:TextField ID="Txtt401_87" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_87" />
							<ext:TextField ID="Txtt401_54" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_54" />
							<ext:TextField ID="Txtt401_89" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_89" />
							<ext:TextField ID="Txtt401_56" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_56" />
							<ext:TextField ID="Txtcollection_time" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="COLLECTION_TIME" />

                        </Items>
                    </ext:Panel>
                    <ext:Panel runat="server" Border="false" Header="false" ColumnWidth=".5" Layout="Form">
                        <Items> 
                            
							<ext:TextField ID="Txtt401_01" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_01" />
							<ext:TextField ID="Txtt401_03" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_03" />
							<ext:TextField ID="Txtt401_05" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_05" />
							<ext:TextField ID="Txtt401_07" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_07" />
							<ext:TextField ID="Txtt401_09" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_09" />
							<ext:TextField ID="Txtt401_11" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_11" />
							<ext:TextField ID="Txtt401_13" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_13" />
							<ext:TextField ID="Txtt401_15" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_15" />
							<ext:TextField ID="Txtt401_17" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_17" />
							<ext:TextField ID="Txtt401_19" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_19" />
							<ext:TextField ID="Txtt401_21" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_21" />
							<ext:TextField ID="Txtt401_22" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_22" />
							<ext:TextField ID="Txtt401_24" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_24" />
							<ext:TextField ID="Txtt401_26" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_26" />
							<ext:TextField ID="Txtt401_72" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_72" />
							<ext:TextField ID="Txtt401_29" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_29" />
							<ext:TextField ID="Txtt401_31" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_31" />
							<ext:TextField ID="Txtt401_33" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_33" />
							<ext:TextField ID="Txtt401_34" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_34" />
							<ext:TextField ID="Txtt401_36" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_36" />
							<ext:TextField ID="Txtt401_38" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_38" />
							<ext:TextField ID="Txtt401_74" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_74" />
							<ext:TextField ID="Txtt401_41" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_41" />
							<ext:TextField ID="Txtt401_43" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_43" />
							<ext:TextField ID="Txtt401_45" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_45" />
							<ext:TextField ID="Txtt401_75" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_75" />
							<ext:TextField ID="Txtt401_48" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_48" />
							<ext:TextField ID="Txtt401_50" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_50" />
							<ext:TextField ID="Txtt401_52" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_52" />
							<ext:TextField ID="Txtt401_76" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_76" />
							<ext:TextField ID="Txtt401_78" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_78" />
							<ext:TextField ID="Txtt401_80" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_80" />
							<ext:TextField ID="Txtt401_82" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_82" />
							<ext:TextField ID="Txtt401_84" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_84" />
							<ext:TextField ID="Txtt401_86" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_86" />
							<ext:TextField ID="Txtt401_88" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_88" />
							<ext:TextField ID="Txtt401_55" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_55" />
							<ext:TextField ID="Txtt401_90" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_90" />
							<ext:TextField ID="Txtt401_57" AnchorHorizontal="92%" runat="server" AllowBlank="false" EmptyText="该项不可为空" FieldLabel="T401_57" />

                        </Items>
                    </ext:Panel>
                </Items>
            </ext:FormPanel>
        </Items>
        <Buttons> 
            <ext:Button Text="提交" ID="BtnSave" runat="server" Icon="Disk">
                <DirectEvents>
                    <Click OnEvent="BtnSave_Click">
                        <EventMask ShowMask="true" Msg="正在提交，请等候 ..."  />
                    </Click>
                </DirectEvents>
                <Listeners>
                    <Click Handler="if (#{t401_MainForm}.getForm().isValid()) {;}else{Ext.Msg.show({icon: Ext.MessageBox.ERROR, msg: '您填写的信息不正确，请您确认！', buttons:Ext.Msg.OK});return false;}" />
                </Listeners>
            </ext:Button>
            <ext:Button Text="取消" ID="BtnConcel" Icon="Delete">
                <Listeners>
                    <Click Handler="#{t401_Win}.hide();" />
                </Listeners>
            </ext:Button>
        </Buttons>
    </ext:Window>
    </form>
</body>
</html>
